#import <Foundation/Foundation.h>

int main (int argc, char *argv[])
{
    NSAutoreleasePool  * pool = [[NSAutoreleasePool alloc] init];

    int foo = 10;

    void (^printFoo)(void) =
        ^(void) {
            NSLog (@"foo = %i", foo);
        };

    foo = 15;

    printFoo ();

    [pool drain];
    return 0;
}